package com.winning.sx.microframework.controller.sysmanage;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 开发者：jiawl
 * 开发日期：2016-06-25
 * 功能描述：错误提示页面
 */
@Controller
public class ErrorController {
    @RequestMapping(value = {"/error/404"})
    public ModelAndView error404() {
        return new ModelAndView("common/pages/error-404");
    }

    @RequestMapping(value = {"/error/500"})
    public ModelAndView error500() {
        return new ModelAndView("common/pages/error-500");
    }
}
